package com.genius.controller;

import com.genius.core.JSONResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("gateway")
public class HelloController {

    @GetMapping("hello")
    public JSONResult hello() {
        return  JSONResult.ok("Hello Gateway");
    }

}
